class Person(object):
    def __init__(self,name,age):
        self.name = name
        self.name = age
    def eat(self):
        print("%s正在吃饭"%self.name)
class Student(Person):
    def play(self):
        print("%s正在玩"%self.name)
s1=Student("小明",15)
s1.play()
s1.eat()
p1=Person("小红",18)
p1.paly()





